package com.jiaeda.shiroweb.service.imp;

import com.jiaeda.shiroweb.entity.SysUser;
import com.jiaeda.shiroweb.mapper.SysUserMapper;
import com.jiaeda.shiroweb.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by chengchaopeng on 2018/6/27.
 */
@Service
public class SysUserServiceImp implements SysUserService {
    @Autowired
    private SysUserMapper sysUserMapper;


    @Override
    public SysUser findByLoginAccount(String loginAccount) {
        return sysUserMapper.findByLoginAccount(loginAccount);
    }
}
